/**
 * InsResourceDataEntity.java
 * com.sftz.assets.entities
 * Copyright (c) 2018, 北京科技有限公司版权所有.
*/

package com.sftz.assets.entities;

import java.io.Serializable;

import lombok.Data;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

/**
 * @author   闫志彬
 * @Date	 2018年12月19日 	 
 */
@Data
@Table("ins_resource_data")
public class InsResourceDataEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	@Id(auto = true)
	private Integer id;

	@Column
	@Comment("课程结构id")
	private Integer courseStructureId;

	@Column
	@Comment("资源类型")
	private Integer resourceType;

	@Column
	@Comment("资源Url")
	private String resourceUrl;

	@Column
	@Comment("播放时长")
	private Float duration;

	@Column
	@Comment("转换后地址")
	private String transUrl;

	@Column
	@Comment("视频可播放")
	private Integer videoCanPlay = 1;

}
